<?php
// +----------------------------------------------------------------------
// | snake
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2022 http://baiyf.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: NickBai <1902822973@qq.com>
// +----------------------------------------------------------------------
namespace app\common\model;

use think\Model;

class ContentPhotos extends BaseModel
{
    public $createTime = false;
    public $updateTime = false;
    public $softDel = false; //时间类型的软删除

    public function getTableFieldsComment(){
        return [
            [
                $this->commentFieldName => '{"disc":"图片地址","name":"photo_url","type":"image_select","sort":"999","type_value_custom":{"table":"Models","id":"id","text":"name","f":"","source":""},"type_value":[],"show":{"list":{"checked":false,"cv":""},"add":{"checked":true,"cv":""},"edit":{"checked":true,"cv":""},"view":{"checked":true,"cv":""}},"validate":{"require":false},"isSearch":false,"search":{"text":"模型","op":"LIKE","is_tree":false,"tree_parent_id_name":""}}'
            ],
        ];
    }

    public function getTableComment(){
        return '';
    }
}